package gwt.bbsbot.client;

import gwt.bbsbot.client.beans.AnswerDataBean;
import gwt.bbsbot.client.beans.QuestionDataBean;

import java.util.List;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

@RemoteServiceRelativePath("detail")
public interface DetailService extends RemoteService {
	QuestionDataBean getQuestion(Long id);
	List<AnswerDataBean> getAnswers(Long questionId);

}
